
package com.one.odf.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for horseBIOType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="horseBIOType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Language" type="{}horseBIOLanguageType"/&gt;
 *         &lt;element name="Discipline" type="{}BIODisciplineType" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Code" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Organisation" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Sex" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Current" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
 *       &lt;attribute name="Height" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="CountryofBirth" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Dam" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="StudBook" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Breeder" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="FormerName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="FormerRider" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="YearBirth" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Passport" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ColourCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="BreedCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Sire" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Owner" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="SecondOwner" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Groom" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ModificationIndicator" type="{}modificationIndicatorType" /&gt;
 *       &lt;attribute name="ExternalCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "horseBIOType", propOrder = {
    "language",
    "discipline"
})
public class HorseBIOType {

    @XmlElement(name = "Language", required = true)
    protected HorseBIOLanguageType language;
    @XmlElement(name = "Discipline")
    protected BIODisciplineType discipline;
    @XmlAttribute(name = "Code")
    protected String code;
    @XmlAttribute(name = "Organisation", required = true)
    protected String organisation;
    @XmlAttribute(name = "Sex")
    protected String sex;
    @XmlAttribute(name = "Current")
    protected Boolean current;
    @XmlAttribute(name = "Height")
    protected String height;
    @XmlAttribute(name = "CountryofBirth")
    protected String countryofBirth;
    @XmlAttribute(name = "Dam")
    protected String dam;
    @XmlAttribute(name = "StudBook")
    protected String studBook;
    @XmlAttribute(name = "Breeder")
    protected String breeder;
    @XmlAttribute(name = "FormerName")
    protected String formerName;
    @XmlAttribute(name = "FormerRider")
    protected String formerRider;
    @XmlAttribute(name = "Name")
    protected String name;
    @XmlAttribute(name = "YearBirth")
    protected String yearBirth;
    @XmlAttribute(name = "Passport")
    protected String passport;
    @XmlAttribute(name = "ColourCode")
    protected String colourCode;
    @XmlAttribute(name = "BreedCode")
    protected String breedCode;
    @XmlAttribute(name = "Sire")
    protected String sire;
    @XmlAttribute(name = "Owner")
    protected String owner;
    @XmlAttribute(name = "SecondOwner")
    protected String secondOwner;
    @XmlAttribute(name = "Groom")
    protected String groom;
    @XmlAttribute(name = "ModificationIndicator")
    protected ModificationIndicatorType modificationIndicator;
    @XmlAttribute(name = "ExternalCode")
    protected String externalCode;

    /**
     * Gets the value of the language property.
     * 
     * @return
     *     possible object is
     *     {@link HorseBIOLanguageType }
     *     
     */
    public HorseBIOLanguageType getLanguage() {
        return language;
    }

    /**
     * Sets the value of the language property.
     * 
     * @param value
     *     allowed object is
     *     {@link HorseBIOLanguageType }
     *     
     */
    public void setLanguage(HorseBIOLanguageType value) {
        this.language = value;
    }

    /**
     * Gets the value of the discipline property.
     * 
     * @return
     *     possible object is
     *     {@link BIODisciplineType }
     *     
     */
    public BIODisciplineType getDiscipline() {
        return discipline;
    }

    /**
     * Sets the value of the discipline property.
     * 
     * @param value
     *     allowed object is
     *     {@link BIODisciplineType }
     *     
     */
    public void setDiscipline(BIODisciplineType value) {
        this.discipline = value;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the organisation property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganisation() {
        return organisation;
    }

    /**
     * Sets the value of the organisation property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganisation(String value) {
        this.organisation = value;
    }

    /**
     * Gets the value of the sex property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSex() {
        if (sex == null) {
            return "";
        } else {
            return sex;
        }
    }

    /**
     * Sets the value of the sex property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSex(String value) {
        this.sex = value;
    }

    /**
     * Gets the value of the current property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isCurrent() {
        return current;
    }

    /**
     * Sets the value of the current property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setCurrent(Boolean value) {
        this.current = value;
    }

    /**
     * Gets the value of the height property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHeight() {
        if (height == null) {
            return "";
        } else {
            return height;
        }
    }

    /**
     * Sets the value of the height property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHeight(String value) {
        this.height = value;
    }

    /**
     * Gets the value of the countryofBirth property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCountryofBirth() {
        if (countryofBirth == null) {
            return "";
        } else {
            return countryofBirth;
        }
    }

    /**
     * Sets the value of the countryofBirth property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCountryofBirth(String value) {
        this.countryofBirth = value;
    }

    /**
     * Gets the value of the dam property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDam() {
        if (dam == null) {
            return "";
        } else {
            return dam;
        }
    }

    /**
     * Sets the value of the dam property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDam(String value) {
        this.dam = value;
    }

    /**
     * Gets the value of the studBook property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStudBook() {
        if (studBook == null) {
            return "";
        } else {
            return studBook;
        }
    }

    /**
     * Sets the value of the studBook property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStudBook(String value) {
        this.studBook = value;
    }

    /**
     * Gets the value of the breeder property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBreeder() {
        if (breeder == null) {
            return "";
        } else {
            return breeder;
        }
    }

    /**
     * Sets the value of the breeder property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBreeder(String value) {
        this.breeder = value;
    }

    /**
     * Gets the value of the formerName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFormerName() {
        if (formerName == null) {
            return "";
        } else {
            return formerName;
        }
    }

    /**
     * Sets the value of the formerName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFormerName(String value) {
        this.formerName = value;
    }

    /**
     * Gets the value of the formerRider property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFormerRider() {
        if (formerRider == null) {
            return "";
        } else {
            return formerRider;
        }
    }

    /**
     * Sets the value of the formerRider property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFormerRider(String value) {
        this.formerRider = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        if (name == null) {
            return "";
        } else {
            return name;
        }
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the yearBirth property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getYearBirth() {
        if (yearBirth == null) {
            return "";
        } else {
            return yearBirth;
        }
    }

    /**
     * Sets the value of the yearBirth property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setYearBirth(String value) {
        this.yearBirth = value;
    }

    /**
     * Gets the value of the passport property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPassport() {
        if (passport == null) {
            return "";
        } else {
            return passport;
        }
    }

    /**
     * Sets the value of the passport property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPassport(String value) {
        this.passport = value;
    }

    /**
     * Gets the value of the colourCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getColourCode() {
        if (colourCode == null) {
            return "";
        } else {
            return colourCode;
        }
    }

    /**
     * Sets the value of the colourCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setColourCode(String value) {
        this.colourCode = value;
    }

    /**
     * Gets the value of the breedCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBreedCode() {
        if (breedCode == null) {
            return "";
        } else {
            return breedCode;
        }
    }

    /**
     * Sets the value of the breedCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBreedCode(String value) {
        this.breedCode = value;
    }

    /**
     * Gets the value of the sire property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSire() {
        if (sire == null) {
            return "";
        } else {
            return sire;
        }
    }

    /**
     * Sets the value of the sire property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSire(String value) {
        this.sire = value;
    }

    /**
     * Gets the value of the owner property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOwner() {
        if (owner == null) {
            return "";
        } else {
            return owner;
        }
    }

    /**
     * Sets the value of the owner property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOwner(String value) {
        this.owner = value;
    }

    /**
     * Gets the value of the secondOwner property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSecondOwner() {
        if (secondOwner == null) {
            return "";
        } else {
            return secondOwner;
        }
    }

    /**
     * Sets the value of the secondOwner property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSecondOwner(String value) {
        this.secondOwner = value;
    }

    /**
     * Gets the value of the groom property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGroom() {
        if (groom == null) {
            return "";
        } else {
            return groom;
        }
    }

    /**
     * Sets the value of the groom property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGroom(String value) {
        this.groom = value;
    }

    /**
     * Gets the value of the modificationIndicator property.
     * 
     * @return
     *     possible object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public ModificationIndicatorType getModificationIndicator() {
        return modificationIndicator;
    }

    /**
     * Sets the value of the modificationIndicator property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public void setModificationIndicator(ModificationIndicatorType value) {
        this.modificationIndicator = value;
    }

    /**
     * Gets the value of the externalCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getExternalCode() {
        if (externalCode == null) {
            return "";
        } else {
            return externalCode;
        }
    }

    /**
     * Sets the value of the externalCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setExternalCode(String value) {
        this.externalCode = value;
    }

}
